import request from '@/utils/request'

//向redis生成临时订单
export function createOrderRedis(params){
	return request({
		url:'/goodsOrder/pay',
		method:'post',
		params
	})
}

//在redis中获取当前用户的临时订单
export function querySecondOrders(params){
	return request({
		url:'/goodsOrder/querySecondOrders',
		method:'post',
		params
	})
}

